<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span id="local-6989586621679636890"><span id="local-6989586621679636891"><span id="local-6989586621679636892"></span></span></span><span class="hs-pragma">{-# LANGUAGE DeriveDataTypeable #-}</span><span>
</span><span id="line-2"></span><span class="hs-pragma">{-# LANGUAGE DeriveGeneric      #-}</span><span>
</span><span id="line-3"></span><span class="hs-pragma">{-# LANGUAGE OverloadedStrings  #-}</span><span>
</span><span id="line-4"></span><span>
</span><span id="line-5"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">Distribution.Types.LibraryVisibility</span><span class="hs-special">(</span><span>
</span><span id="line-6"></span><span>    </span><span class="annot"><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibility"><span class="hs-identifier">LibraryVisibility</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-7"></span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-8"></span><span>
</span><span id="line-9"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Compat.Prelude.html"><span class="hs-identifier">Distribution.Compat.Prelude</span></a></span><span>
</span><span id="line-10"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Prelude.html#"><span class="hs-identifier">Prelude</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span>
</span><span id="line-11"></span><span>
</span><span id="line-12"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Parsec.html"><span class="hs-identifier">Distribution.Parsec</span></a></span><span>
</span><span id="line-13"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Pretty.html"><span class="hs-identifier">Distribution.Pretty</span></a></span><span>
</span><span id="line-14"></span><span>
</span><span id="line-15"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="Distribution.Compat.CharParsing.html"><span class="hs-identifier">Distribution.Compat.CharParsing</span></a></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">P</span></span><span>
</span><span id="line-16"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="../../pretty/src/Text.PrettyPrint.html#"><span class="hs-identifier">Text.PrettyPrint</span></a></span><span>                </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">Disp</span></span><span>
</span><span id="line-17"></span><span>
</span><span id="line-18"></span><span class="hs-comment">-- | Multi-lib visibility</span><span>
</span><span id="line-19"></span><span class="hs-comment">--</span><span>
</span><span id="line-20"></span><span class="hs-comment">-- @since 3.0.0.0</span><span>
</span><span id="line-21"></span><span class="hs-comment">--</span><span>
</span><span id="line-22"></span><span id="local-6989586621679636888"><span id="local-6989586621679636889"></span></span><span class="hs-keyword">data</span><span> </span><span id="LibraryVisibility"><span class="annot"><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibility"><span class="hs-identifier hs-var">LibraryVisibility</span></a></span></span><span>
</span><span id="line-23"></span><span>      </span><span class="hs-comment">-- | Can be depenendent from other packages</span><span>
</span><span id="line-24"></span><span>    </span><span class="hs-glyph">=</span><span> </span><span id="LibraryVisibilityPublic"><span class="annot"><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibilityPublic"><span class="hs-identifier hs-var">LibraryVisibilityPublic</span></a></span></span><span>
</span><span id="line-25"></span><span>      </span><span class="hs-comment">-- | Internal library, default</span><span>
</span><span id="line-26"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="LibraryVisibilityPrivate"><span class="annot"><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibilityPrivate"><span class="hs-identifier hs-var">LibraryVisibilityPrivate</span></a></span></span><span>
</span><span id="line-27"></span><span>    </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">(forall x. LibraryVisibility -&gt; Rep LibraryVisibility x)
-&gt; (forall x. Rep LibraryVisibility x -&gt; LibraryVisibility)
-&gt; Generic LibraryVisibility
forall x. Rep LibraryVisibility x -&gt; LibraryVisibility
forall x. LibraryVisibility -&gt; Rep LibraryVisibility x
forall a.
(forall x. a -&gt; Rep a x) -&gt; (forall x. Rep a x -&gt; a) -&gt; Generic a
$cto :: forall x. Rep LibraryVisibility x -&gt; LibraryVisibility
$cfrom :: forall x. LibraryVisibility -&gt; Rep LibraryVisibility x
</span><a href="../../base/src/GHC.Generics.html#Generic"><span class="hs-identifier hs-var hs-var hs-var hs-var">Generic</span></a></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679636877"><span id="local-6989586621679636879"><span id="local-6989586621679636881"><span class="annot"><span class="annottext">Int -&gt; LibraryVisibility -&gt; ShowS
[LibraryVisibility] -&gt; ShowS
LibraryVisibility -&gt; String
(Int -&gt; LibraryVisibility -&gt; ShowS)
-&gt; (LibraryVisibility -&gt; String)
-&gt; ([LibraryVisibility] -&gt; ShowS)
-&gt; Show LibraryVisibility
forall a.
(Int -&gt; a -&gt; ShowS) -&gt; (a -&gt; String) -&gt; ([a] -&gt; ShowS) -&gt; Show a
showList :: [LibraryVisibility] -&gt; ShowS
$cshowList :: [LibraryVisibility] -&gt; ShowS
show :: LibraryVisibility -&gt; String
$cshow :: LibraryVisibility -&gt; String
showsPrec :: Int -&gt; LibraryVisibility -&gt; ShowS
$cshowsPrec :: Int -&gt; LibraryVisibility -&gt; ShowS
</span><a href="../../base/src/GHC.Show.html#Show"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Show</span></a></span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679636864"><span id="local-6989586621679636869"><span id="local-6989586621679636872"><span id="local-6989586621679636874"><span class="annot"><span class="annottext">ReadPrec [LibraryVisibility]
ReadPrec LibraryVisibility
Int -&gt; ReadS LibraryVisibility
ReadS [LibraryVisibility]
(Int -&gt; ReadS LibraryVisibility)
-&gt; ReadS [LibraryVisibility]
-&gt; ReadPrec LibraryVisibility
-&gt; ReadPrec [LibraryVisibility]
-&gt; Read LibraryVisibility
forall a.
(Int -&gt; ReadS a)
-&gt; ReadS [a] -&gt; ReadPrec a -&gt; ReadPrec [a] -&gt; Read a
readListPrec :: ReadPrec [LibraryVisibility]
$creadListPrec :: ReadPrec [LibraryVisibility]
readPrec :: ReadPrec LibraryVisibility
$creadPrec :: ReadPrec LibraryVisibility
readList :: ReadS [LibraryVisibility]
$creadList :: ReadS [LibraryVisibility]
readsPrec :: Int -&gt; ReadS LibraryVisibility
$creadsPrec :: Int -&gt; ReadS LibraryVisibility
</span><a href="../../base/src/GHC.Read.html#Read"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Read</span></a></span></span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679636858"><span id="local-6989586621679636860"><span class="annot"><span class="annottext">LibraryVisibility -&gt; LibraryVisibility -&gt; Bool
(LibraryVisibility -&gt; LibraryVisibility -&gt; Bool)
-&gt; (LibraryVisibility -&gt; LibraryVisibility -&gt; Bool)
-&gt; Eq LibraryVisibility
forall a. (a -&gt; a -&gt; Bool) -&gt; (a -&gt; a -&gt; Bool) -&gt; Eq a
/= :: LibraryVisibility -&gt; LibraryVisibility -&gt; Bool
$c/= :: LibraryVisibility -&gt; LibraryVisibility -&gt; Bool
== :: LibraryVisibility -&gt; LibraryVisibility -&gt; Bool
$c== :: LibraryVisibility -&gt; LibraryVisibility -&gt; Bool
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var">Eq</span></span></span></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="../../base/src/Data.Typeable.Internal.html#Typeable"><span class="hs-identifier hs-type">Typeable</span></a></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679636827"><span id="local-6989586621679636829"><span id="local-6989586621679636831"><span id="local-6989586621679636833"><span id="local-6989586621679636835"><span id="local-6989586621679636837"><span id="local-6989586621679636839"><span id="local-6989586621679636841"><span id="local-6989586621679636843"><span id="local-6989586621679636845"><span id="local-6989586621679636847"><span id="local-6989586621679636849"><span id="local-6989586621679636851"><span id="local-6989586621679636853"><span class="annot"><span class="annottext">Typeable LibraryVisibility
Typeable LibraryVisibility
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g)
    -&gt; LibraryVisibility
    -&gt; c LibraryVisibility)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c LibraryVisibility)
-&gt; (LibraryVisibility -&gt; Constr)
-&gt; (LibraryVisibility -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c LibraryVisibility))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e))
    -&gt; Maybe (c LibraryVisibility))
-&gt; ((forall b. Data b =&gt; b -&gt; b)
    -&gt; LibraryVisibility -&gt; LibraryVisibility)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r)
    -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; LibraryVisibility -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r)
    -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; LibraryVisibility -&gt; r)
-&gt; (forall u.
    (forall d. Data d =&gt; d -&gt; u) -&gt; LibraryVisibility -&gt; [u])
-&gt; (forall u.
    Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; LibraryVisibility -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d)
    -&gt; LibraryVisibility -&gt; m LibraryVisibility)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d)
    -&gt; LibraryVisibility -&gt; m LibraryVisibility)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d)
    -&gt; LibraryVisibility -&gt; m LibraryVisibility)
-&gt; Data LibraryVisibility
LibraryVisibility -&gt; DataType
LibraryVisibility -&gt; Constr
(forall b. Data b =&gt; b -&gt; b)
-&gt; LibraryVisibility -&gt; LibraryVisibility
forall a.
Typeable a
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g) -&gt; a -&gt; c a)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c a)
-&gt; (a -&gt; Constr)
-&gt; (a -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c a))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c a))
-&gt; ((forall b. Data b =&gt; b -&gt; b) -&gt; a -&gt; a)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; [u])
-&gt; (forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; Data a
forall u.
Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; LibraryVisibility -&gt; u
forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; LibraryVisibility -&gt; [u]
forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; LibraryVisibility -&gt; r
forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; LibraryVisibility -&gt; r
forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; LibraryVisibility -&gt; m LibraryVisibility
forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; LibraryVisibility -&gt; m LibraryVisibility
forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c LibraryVisibility
forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; LibraryVisibility -&gt; c LibraryVisibility
forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c LibraryVisibility)
forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c LibraryVisibility)
gmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; LibraryVisibility -&gt; m LibraryVisibility
$cgmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; LibraryVisibility -&gt; m LibraryVisibility
gmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; LibraryVisibility -&gt; m LibraryVisibility
$cgmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; LibraryVisibility -&gt; m LibraryVisibility
gmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; LibraryVisibility -&gt; m LibraryVisibility
$cgmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; LibraryVisibility -&gt; m LibraryVisibility
gmapQi :: forall u.
Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; LibraryVisibility -&gt; u
$cgmapQi :: forall u.
Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; LibraryVisibility -&gt; u
gmapQ :: forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; LibraryVisibility -&gt; [u]
$cgmapQ :: forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; LibraryVisibility -&gt; [u]
gmapQr :: forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; LibraryVisibility -&gt; r
$cgmapQr :: forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; LibraryVisibility -&gt; r
gmapQl :: forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; LibraryVisibility -&gt; r
$cgmapQl :: forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; LibraryVisibility -&gt; r
gmapT :: (forall b. Data b =&gt; b -&gt; b)
-&gt; LibraryVisibility -&gt; LibraryVisibility
$cgmapT :: (forall b. Data b =&gt; b -&gt; b)
-&gt; LibraryVisibility -&gt; LibraryVisibility
dataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c LibraryVisibility)
$cdataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c LibraryVisibility)
dataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c LibraryVisibility)
$cdataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c LibraryVisibility)
dataTypeOf :: LibraryVisibility -&gt; DataType
$cdataTypeOf :: LibraryVisibility -&gt; DataType
toConstr :: LibraryVisibility -&gt; Constr
$ctoConstr :: LibraryVisibility -&gt; Constr
gunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c LibraryVisibility
$cgunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c LibraryVisibility
gfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; LibraryVisibility -&gt; c LibraryVisibility
$cgfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; LibraryVisibility -&gt; c LibraryVisibility
</span><a href="../../base/src/Data.Data.html#Data"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Data</span></a></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><span class="hs-special">)</span><span>
</span><span id="line-28"></span><span>
</span><span id="line-29"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679636823"><span class="annot"><a href="Distribution.Pretty.html#Pretty"><span class="hs-identifier hs-type">Pretty</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibility"><span class="hs-identifier hs-type">LibraryVisibility</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-30"></span><span>    </span><span id="local-6989586621679636821"><span class="annot"><span class="annottext">pretty :: LibraryVisibility -&gt; Doc
</span><a href="Distribution.Pretty.html#pretty"><span class="hs-identifier hs-var hs-var hs-var hs-var">pretty</span></a></span></span><span> </span><span class="annot"><span class="annottext">LibraryVisibility
</span><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibilityPublic"><span class="hs-identifier hs-var">LibraryVisibilityPublic</span></a></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; Doc
</span><a href="../../pretty/src/Text.PrettyPrint.HughesPJ.html#text"><span class="hs-identifier hs-var">Disp.text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;public&quot;</span></span><span>
</span><span id="line-31"></span><span>    </span><span class="annot"><a href="Distribution.Pretty.html#pretty"><span class="hs-identifier hs-var">pretty</span></a></span><span> </span><span class="annot"><span class="annottext">LibraryVisibility
</span><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibilityPrivate"><span class="hs-identifier hs-var">LibraryVisibilityPrivate</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; Doc
</span><a href="../../pretty/src/Text.PrettyPrint.HughesPJ.html#text"><span class="hs-identifier hs-var">Disp.text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;private&quot;</span></span><span>
</span><span id="line-32"></span><span>
</span><span id="line-33"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="Distribution.Parsec.html#Parsec"><span class="hs-identifier hs-type">Parsec</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibility"><span class="hs-identifier hs-type">LibraryVisibility</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-34"></span><span>  </span><span id="local-6989586621679636789"><span class="annot"><span class="annottext">parsec :: forall (m :: * -&gt; *). CabalParsing m =&gt; m LibraryVisibility
</span><a href="Distribution.Parsec.html#parsec"><span class="hs-identifier hs-var hs-var hs-var hs-var">parsec</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">do</span><span>
</span><span id="line-35"></span><span>    </span><span id="local-6989586621679636787"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679636787"><span class="hs-identifier hs-var">name</span></a></span></span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">(Char -&gt; Bool) -&gt; m String
forall (m :: * -&gt; *). CharParsing m =&gt; (Char -&gt; Bool) -&gt; m String
</span><a href="Distribution.Compat.CharParsing.html#munch1"><span class="hs-identifier hs-var">P.munch1</span></a></span><span> </span><span class="annot"><span class="annottext">Char -&gt; Bool
</span><a href="../../base/src/GHC.Unicode.html#isAlpha"><span class="hs-identifier hs-var">isAlpha</span></a></span><span>
</span><span id="line-36"></span><span>    </span><span class="annot"><span class="annottext">PWarnType -&gt; String -&gt; m ()
forall (m :: * -&gt; *). CabalParsing m =&gt; PWarnType -&gt; String -&gt; m ()
</span><a href="Distribution.Parsec.html#parsecWarning"><span class="hs-identifier hs-var">parsecWarning</span></a></span><span> </span><span class="annot"><span class="annottext">PWarnType
</span><a href="Distribution.Parsec.Warning.html#PWTExperimental"><span class="hs-identifier hs-var">PWTExperimental</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;visibility is experimental feature (issue #5660)&quot;</span></span><span>
</span><span id="line-37"></span><span>    </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679636787"><span class="hs-identifier hs-var">name</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-38"></span><span>      </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;public&quot;</span></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">LibraryVisibility -&gt; m LibraryVisibility
forall (m :: * -&gt; *) a. Monad m =&gt; a -&gt; m a
</span><a href="../../base/src/GHC.Base.html#return"><span class="hs-identifier hs-var">return</span></a></span><span> </span><span class="annot"><span class="annottext">LibraryVisibility
</span><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibilityPublic"><span class="hs-identifier hs-var">LibraryVisibilityPublic</span></a></span><span>
</span><span id="line-39"></span><span>      </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;private&quot;</span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">LibraryVisibility -&gt; m LibraryVisibility
forall (m :: * -&gt; *) a. Monad m =&gt; a -&gt; m a
</span><a href="../../base/src/GHC.Base.html#return"><span class="hs-identifier hs-var">return</span></a></span><span> </span><span class="annot"><span class="annottext">LibraryVisibility
</span><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibilityPrivate"><span class="hs-identifier hs-var">LibraryVisibilityPrivate</span></a></span><span>
</span><span id="line-40"></span><span>      </span><span class="annot"><span class="annottext">String
</span><span class="hs-identifier">_</span></span><span>         </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">String -&gt; m LibraryVisibility
forall (m :: * -&gt; *) a. MonadFail m =&gt; String -&gt; m a
</span><a href="../../base/src/Control.Monad.Fail.html#fail"><span class="hs-identifier hs-var">fail</span></a></span><span> </span><span class="annot"><span class="annottext">(String -&gt; m LibraryVisibility) -&gt; String -&gt; m LibraryVisibility
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;Unknown visibility: &quot;</span></span><span> </span><span class="annot"><span class="annottext">String -&gt; ShowS
forall a. [a] -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.Base.html#%2B%2B"><span class="hs-operator hs-var">++</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679636787"><span class="hs-identifier hs-var">name</span></a></span><span>
</span><span id="line-41"></span><span>
</span><span id="line-42"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679636777"><span id="local-6989586621679636779"><span id="local-6989586621679636781"><span class="annot"><a href="../../binary/src/Data.Binary.Class.html#Binary"><span class="hs-identifier hs-type">Binary</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibility"><span class="hs-identifier hs-type">LibraryVisibility</span></a></span></span></span></span><span>
</span><span id="line-43"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679636770"><span id="local-6989586621679636772"><span class="annot"><a href="Distribution.Utils.Structured.html#Structured"><span class="hs-identifier hs-type">Structured</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibility"><span class="hs-identifier hs-type">LibraryVisibility</span></a></span></span></span><span>
</span><span id="line-44"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="../../deepseq/src/Control.DeepSeq.html#NFData"><span class="hs-identifier hs-type">NFData</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibility"><span class="hs-identifier hs-type">LibraryVisibility</span></a></span><span> </span><span class="hs-keyword">where</span><span> </span><span id="local-6989586621679636755"><span class="annot"><span class="annottext">rnf :: LibraryVisibility -&gt; ()
</span><a href="../../deepseq/src/Control.DeepSeq.html#rnf"><span class="hs-identifier hs-var hs-var hs-var hs-var">rnf</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">LibraryVisibility -&gt; ()
forall a. (Generic a, GNFData (Rep a)) =&gt; a -&gt; ()
</span><a href="Distribution.Compat.Prelude.html#genericRnf"><span class="hs-identifier hs-var">genericRnf</span></a></span><span>
</span><span id="line-45"></span><span>
</span><span id="line-46"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679636748"><span id="local-6989586621679636750"><span class="annot"><a href="../../base/src/GHC.Base.html#Semigroup"><span class="hs-identifier hs-type">Semigroup</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibility"><span class="hs-identifier hs-type">LibraryVisibility</span></a></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-47"></span><span>    </span><span class="annot"><span class="annottext">LibraryVisibility
</span><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibilityPrivate"><span class="hs-identifier hs-var">LibraryVisibilityPrivate</span></a></span><span> </span><span id="local-6989586621679636746"><span class="annot"><span class="annottext">&lt;&gt; :: LibraryVisibility -&gt; LibraryVisibility -&gt; LibraryVisibility
</span><a href="../../base/src/GHC.Base.html#%3C%3E"><span class="hs-operator hs-var hs-var hs-var hs-var">&lt;&gt;</span></a></span></span><span> </span><span class="annot"><span class="annottext">LibraryVisibility
</span><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibilityPrivate"><span class="hs-identifier hs-var">LibraryVisibilityPrivate</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">LibraryVisibility
</span><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibilityPrivate"><span class="hs-identifier hs-var">LibraryVisibilityPrivate</span></a></span><span>
</span><span id="line-48"></span><span>    </span><span class="annot"><span class="annottext">LibraryVisibility
</span><span class="hs-identifier">_</span></span><span>                        </span><span class="annot"><a href="../../base/src/GHC.Base.html#%3C%3E"><span class="hs-operator hs-var">&lt;&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">LibraryVisibility
</span><span class="hs-identifier">_</span></span><span>                        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">LibraryVisibility
</span><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibilityPublic"><span class="hs-identifier hs-var">LibraryVisibilityPublic</span></a></span><span>
</span><span id="line-49"></span><span>
</span><span id="line-50"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679636740"><span class="annot"><a href="../../base/src/GHC.Base.html#Monoid"><span class="hs-identifier hs-type">Monoid</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibility"><span class="hs-identifier hs-type">LibraryVisibility</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-51"></span><span>    </span><span id="local-6989586621679636738"><span class="annot"><span class="annottext">mempty :: LibraryVisibility
</span><a href="../../base/src/GHC.Base.html#mempty"><span class="hs-identifier hs-var hs-var hs-var hs-var">mempty</span></a></span></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">LibraryVisibility
</span><a href="Distribution.Types.LibraryVisibility.html#LibraryVisibilityPrivate"><span class="hs-identifier hs-var">LibraryVisibilityPrivate</span></a></span><span>
</span><span id="line-52"></span><span>    </span><span id="local-6989586621679636736"><span class="annot"><span class="annottext">mappend :: LibraryVisibility -&gt; LibraryVisibility -&gt; LibraryVisibility
</span><a href="../../base/src/GHC.Base.html#mappend"><span class="hs-identifier hs-var hs-var hs-var hs-var">mappend</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">LibraryVisibility -&gt; LibraryVisibility -&gt; LibraryVisibility
forall a. Semigroup a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Base.html#%3C%3E"><span class="hs-operator hs-var">(&lt;&gt;)</span></a></span><span>
</span><span id="line-53"></span></pre></body></html>